// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:30

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   uk.java

package com.zelix;

import java.util.Vector;

// Referenced classes of package com.zelix:
//            qk, mh, fl, il, 
//            uh, vh, si, nh

public class uk extends qk
{

    private boolean i;

    public uk(int i1)
    {
        super(i1);
    }

    double i()
    {
        double d;
label0:
        {
            d = 1.0D;
            mh mh1 = (mh)a(0);
            if(!(mh1 instanceof fl))
                break label0;
            Vector vector = ((fl)mh1).i();
            if(vector.size() <= 0)
                break label0;
            if(il.l((String)vector.elementAt(vector.size() - 1)))
            {
                if(vector.size() <= 1)
                    break label0;
                d *= 0.25D;
                if(si.g == 0)
                    break label0;
            }
            d *= 0.10000000000000001D;
        }
        return d;
    }

    public Vector j()
    {
        mh mh1 = (mh)a(0);
        if(mh1 instanceof fl)
            return ((fl)mh1).i();
        else
            return new Vector();
    }

    public String a()
    {
        return ((mh)a(0)).a() + (i ? "^" : "");
    }

    public void a(uh uh1, nh nh)
    {
        a(0).a(this, nh);
        if(uh1 instanceof il)
            ((il)uh1).a(this);
    }

    boolean k()
    {
        return i;
    }

    boolean l()
    {
        return i;
    }

    public void m()
    {
        i = true;
    }
}